const armsLibrary = {
    path: 'arms-library',
    name: 'arms-library',
    redirect: '/admin/element-library/arms-library/list',
    meta: { title: '兵种元素库', type: 3 },
    component: () => import('@/layout/admin/public.vue'),
    children: [
        {
            path: 'list',
            name: 'arms-list',
            meta: { type: 3 },
            component: () => import('@/views/Admin/courseLibrary/courseList/index.vue'),
        },
        {
            path: 'manage',
            name: 'arms-manage',
            redirect: '/admin/element-library/arms-library/manage/info',
            meta: { title: '兵种管理', type: 3, dataType: 1,},
            component: () => import('@/views/Admin/courseLibrary/courseManage/index.vue'),
            children: [
                {
                    path: 'info',
                    name: 'arms-info',
                    meta: { title: '元素库信息', type: 3 },
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseInfo/index.vue')
                },
                {
                    path: 'chapter',
                    name: 'arms-chapter',
                    meta: { title: '资源管理', type: 3 },
                    redirect: '/admin/element-library/arms-library/manage/chapter/knowledge-list',
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseChapter/index.vue'),
                    children: [
                        {
                            path: 'knowledge-list',
                            name: 'arms-knowledge-list',
                            meta: { type: 3 },
                            component: () => import('@/views/Admin/specialtyLibrary/knowledge/index.vue'),
                        },
                        {
                            path: 'knowledge-create',
                            name: 'arms-knowledge-create',
                            meta: { title: '资源创建', type: 3 },
                            component: () => import('@/views/Admin/courseLibrary/knowledge/knowledgeCreate/index.vue')
                        },
                        {
                            path: 'knowledge-setting',
                            name: 'arms-knowledge-setting',
                            meta: { title: '资源创建',type: 3, dataType: 3 },
                            component: () => import('@/views/Admin/courseLibrary/knowledge/knowledgeManage/index.vue')
                        },
                    ]
                },
                {
                    path: 'team',
                    name: 'arms-team',
                    meta: { title: '教师团队', type: 3 },
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseTeam/index.vue')
                },
                {
                    path: 'strategy',
                    name: 'arms-strategy',
                    meta: { title: '批注管理', type: 3 },
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseStrategy/index.vue')
                },
                {
                    path: 'review',
                    name: 'arms-review',
                    meta: { title: '评论管理', type: 3 },
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseReview/index.vue')
                },
                {
                    path: 'data',
                    name: 'arms-data',
                    meta: { title: '数据统计', type: 3 },
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseData/index.vue')
                },
                {
                    path: 'update',
                    name: 'arms-update',
                    meta: { title: '更新管理', type: 3 },
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseUpdate/index.vue')
                },
                {
                    path: 'other',
                    name: 'arms-other',
                    meta: { title: '其他功能', type: 3 },
                    component: () => import('@/views/Admin/courseLibrary/courseManage/courseOther/index.vue')
                },
            ]
        },
    ]
}
export default armsLibrary;